package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工评分对象 yg_score
 * 
 * @author ruoyi
 * @date 2022-11-28
 */
public class YgScore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long scoreId;

    /** 员工id */
    @Excel(name = "员工id")
    private Long empid;

    /** 旧分数 */
    @Excel(name = "旧分数")
    private Long oldScore;

    /** 规则id */
    @Excel(name = "规则id")
    private Long ruleId;

    /** 最新分数 */
    @Excel(name = "最新分数")
    private Long latestScores;

    /** 产生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "产生时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date productionDate;

    public void setScoreId(Long scoreId) 
    {
        this.scoreId = scoreId;
    }

    public Long getScoreId() 
    {
        return scoreId;
    }
    public void setEmpid(Long empid) 
    {
        this.empid = empid;
    }

    public Long getEmpid() 
    {
        return empid;
    }
    public void setOldScore(Long oldScore) 
    {
        this.oldScore = oldScore;
    }

    public Long getOldScore() 
    {
        return oldScore;
    }
    public void setRuleId(Long ruleId) 
    {
        this.ruleId = ruleId;
    }

    public Long getRuleId() 
    {
        return ruleId;
    }
    public void setLatestScores(Long latestScores) 
    {
        this.latestScores = latestScores;
    }

    public Long getLatestScores() 
    {
        return latestScores;
    }
    public void setProductionDate(Date productionDate) 
    {
        this.productionDate = productionDate;
    }

    public Date getProductionDate() 
    {
        return productionDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scoreId", getScoreId())
            .append("empid", getEmpid())
            .append("oldScore", getOldScore())
            .append("ruleId", getRuleId())
            .append("latestScores", getLatestScores())
            .append("productionDate", getProductionDate())
            .toString();
    }
}
